package edu.hwadee.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Goodssupplier entity. @author MyEclipse Persistence Tools
 */

public class Goodssupplier implements java.io.Serializable {

	// Fields

	private Integer goodssupplierId;
	private Staff staff;
	private Company company;
	private Date buyDate;
	private Float totalCost;
	private Float paidFee;
	private String paymentWay;
	private Short paymentState;
	private Short checkState;
	private Set goodsbuies = new HashSet(0);

	// Constructors

	/** default constructor */
	public Goodssupplier() {
	}

	/** full constructor */
	public Goodssupplier(Staff staff, Company company, Date buyDate, Float totalCost, Float paidFee, String paymentWay,
			Short paymentState, Short checkState, Set goodsbuies) {
		this.staff = staff;
		this.company = company;
		this.buyDate = buyDate;
		this.totalCost = totalCost;
		this.paidFee = paidFee;
		this.paymentWay = paymentWay;
		this.paymentState = paymentState;
		this.checkState = checkState;
		this.goodsbuies = goodsbuies;
	}

	// Property accessors

	public Integer getGoodssupplierId() {
		return this.goodssupplierId;
	}

	public void setGoodssupplierId(Integer goodssupplierId) {
		this.goodssupplierId = goodssupplierId;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public Company getCompany() {
		return this.company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public Date getBuyDate() {
		return this.buyDate;
	}

	public void setBuyDate(Date buyDate) {
		this.buyDate = buyDate;
	}

	public Float getTotalCost() {
		return this.totalCost;
	}

	public void setTotalCost(Float totalCost) {
		this.totalCost = totalCost;
	}

	public Float getPaidFee() {
		return this.paidFee;
	}

	public void setPaidFee(Float paidFee) {
		this.paidFee = paidFee;
	}

	public String getPaymentWay() {
		return this.paymentWay;
	}

	public void setPaymentWay(String paymentWay) {
		this.paymentWay = paymentWay;
	}

	public Short getPaymentState() {
		return this.paymentState;
	}

	public void setPaymentState(Short paymentState) {
		this.paymentState = paymentState;
	}

	public Short getCheckState() {
		return this.checkState;
	}

	public void setCheckState(Short checkState) {
		this.checkState = checkState;
	}

	public Set getGoodsbuies() {
		return this.goodsbuies;
	}

	public void setGoodsbuies(Set goodsbuies) {
		this.goodsbuies = goodsbuies;
	}

}